home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
WWII Attack! from Pearl Harbor to Potsdam
/
WWII Attack - From Pearl Harbor to Potsdam - Disc 3.iso
/
pc
/
us
/
shared.cst
/
00026_Script_26
< prev
next >
Wrap
Text File
|
1999-11-23
|
1KB
|
42 lines
on TPRINT
global gXobject
global comp
if comp = 1 then
openxlib "Print_X.DLL"
put PrintY(mNew) into gXObject
else
openxlib "Print_X"
put Print_X(mNew) into gXObject
end if
put the castNum of sprite 2 into ccas
put the text of cast ccas into thetext
put " " into NEWTEXT
put " " into textToPrint
gxObject(mSetBodyTextMargin, 30, 30)
gXObject(mSetBODYTop, 55)
gXObject (mSetHeaderTop2,700)
put " " into thefooter
repeat while the number of words in theText >=1
put word 1 to 435 of theText into textToPrint
PUT gXObject(mPrintPage, "", thefooter, textToPrint, "", 0) INTO PRINTERRESULT
delete word 1 to 435 of theText
-- put " " into NEWTEXT
end repeat
-- put thetext into textToPrint
-- REPEAT WITH NUMB= 1 TO 500
-- put WORD 1 of theText AFTER textToPrint
-- PUT " " AFTER TEXTTOPRINT
-- DELETE WORD 1 OF THETEXT
-- END REPEAT
-- PUT gXObject(mPrintPage, "", thefooter, textToPrint, "", 0) INTO PRINTERRESULT
-- gXobject(mDispose)
--end
gXobject(mDispose)
end